// Table layout
// Copyright 2005 (C) Ralph Thomas

#ifndef MISSION_VIEW_TABLE_H
#define MISSION_VIEW_TABLE_H

#include <factory.hpp>

namespace view {
	//
	/// The table container can lay it's children out into a table, similar to
	/// a row or column that wraps when it has run out of space.
	///
	/// \param	parameters	a dictionary of parameters for the new table
	///				layout.
	/// \param	parent		the parent of the table layout.
	/// \param	token		the factory token for creating the table
	///				layout.
	/// \return	a widget_node_t containing the new table layout.
	//
	adobe::widget_node_t table_factory(
		const adobe::dictionary_t&	parameters,
		const adobe::widget_node_t&	parent,
		const adobe::factory_token_t&	token );
};

#endif

